//
//  BoonLoginViewController.h
//  BoonApp
//
//  Created by Soarwind on 9/30/12.
//  Copyright (c) 2012 CMU. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BoonLoginViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,UITextFieldDelegate>{
	NSString* address_ ;
	NSString* password_ ;
	
	UITextField* addressField_ ;
	UITextField* passwordField_ ;
}

// Creates a textfield with the specified text and placeholder text
-(UITextField*) makeTextField: (NSString*)text
                  placeholder: (NSString*)placeholder  ;

// Handles UIControlEventEditingDidEndOnExit
- (IBAction)textFieldFinished:(id)sender ;

@property (nonatomic,copy) NSString* address ;
@property (nonatomic,copy) NSString* password ;

// Handles user login action
- (IBAction)actionLogin:(id)sender;
@property (nonatomic, strong) NSMutableData *responseData;
@end
